package com.itstu.mapper;

import com.itstu.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author 梁卓
 * @Version 1.0
 * @ClassName UserMapper
 * @Description TODO
 * @Date 2024/09/27 22:13
 */
@Mapper
public interface UserMapper {

    /**
     * 根据用户名获取用户信息
     * @param username 用户名
     * @return 用户信息
     */
    User getUserByUserName(@Param("username") String username);
}
